home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / demo / wit472.zip / LIB / HELP / MORPHO / MEDIAN / MEDIAN.bin
Text File  |  1994-11-25  |  1KB  |  29 lines

  1. OPERATOR
  2.  
  3. median --- greyscale median filter
  4.  
  5.  
  6. DESCRIPTION
  7.  
  8. The median operator performs median filtering on greyscale images. The operator 
  9. sets each pixel in the output image to the median value, determined over all 
  10. selected pixels, in the neighbourhood of that pixel. The pixels to be used 
  11. can be selected using a structuring element defined by the kernel parameter. 
  12. For more on the use of the kernel, consult the documentation or help for 
  13. the berode and bdilate operators. 
  14.  
  15. The median operator is useful for removing isolated lines of pixels while 
  16. preserving spatial resolutions. Its performance is poor when the number of 
  17. noise pixels in the neighborhood is greater than half the number of pixels 
  18. in the neighborhood. Median filtering performs very well on images containing 
  19. binary noise but performs poorly when the noise is Gaussian. For example, the 
  20. kernel 
  21.  
  22.  
  23.  
  24.    1 0 1
  25.    0 1 0
  26.    1 0 1
  27.  
  28. is very good at removing vertical and horizontal binary noise lines. 
  29.